Methods and apparatus for pattern matching having memory cell pairs coupled in series and coupled in parallel

ABSTRACT

Methods include receiving a pattern to be searched in a memory having a plurality of sets of memory elements with each set coupled to a separate data line and corresponding to a same set of bit positions of the pattern. Methods further include receiving a pattern of data to be programmed into a memory, programming a first data state into one memory cell of each cell pair of a plurality of cell pairs of a memory array, and programming a second data state into another memory cell of each cell pair of the plurality of cell pairs for each bit position of the pattern. Memory configured to facilitate such methods include a plurality of cell pairs, each cell pair of the plurality of cell pairs programmed to store a same bit of data corresponding to a particular bit position of a pattern to be searched in the memory.

RELATED APPLICATIONS

This Application is a Continuation of U.S. patent application Ser. No.15/841,490, titled “METHODS AND APPARATUS FOR PATTERN MATCHING,” filedDec. 14, 2017, now U.S. Pat. No. 10,141,055, issued on Nov. 27, 2018,which is a Divisional of U.S. patent application Ser. No. 14/991,007,titled “METHODS AND APPARATUS FOR PATTERN MATCHING,” filed Jan. 8, 2016,now U.S. Pat. No. 9,875,799, issued on Jan. 23, 2018, which are commonlyassigned and incorporated herein by reference in their entirety andwhich claim priority to U.S. Provisional Application No. 62/102,168,filed on Jan. 12, 2015, which is incorporated herein in its entirety byreference.

FIELD

The present disclosure relates generally to memory and in particular, inone or more embodiments, the present disclosure relates to methods andapparatus for pattern matching.

BACKGROUND

Memory devices are typically provided as internal, semiconductor,integrated circuits in computers or other electronic devices. There aremany different types of memory including random-access memory (RAM),read only memory (ROM), dynamic random access memory (DRAM), synchronousdynamic random access memory (SDRAM), and flash memory.

Flash memory devices have developed into a popular source ofnon-volatile memory for a wide range of electronic applications. Flashmemory devices typically use a one-transistor memory cell that allowsfor high memory densities, high reliability, and low power consumption.Changes in threshold voltage of the cells, through programming of acharge storage structure, such as floating gates or trapping layers orother physical phenomena, determine the data state of each cell. Commonuses for flash memory include personal computers, personal digitalassistants (PDAs), digital cameras, digital media players, digitalrecorders, games, appliances, vehicles, wireless devices, cellulartelephones, and removable memory modules, and the uses for flash memorycontinue to expand.

Flash memory typically utilizes one of two basic architectures known asNOR flash and NAND flash. The designation is derived from the logic usedto read the devices. In NOR flash architecture, a logical column ofmemory cells is coupled in parallel with each memory cell coupled to adata line, such as those typically referred to as digit (e.g., bit)lines. In NAND flash architecture, a column of memory cells is coupledin series with only the first memory cell of the column coupled to a bitline.

Content addressable memories (CAM) are memories that implement a lookuptable function in a single clock cycle. They use dedicated comparisoncircuitry to perform the lookups. CAM application are often used innetwork routers for packet forwarding and the like. Each individualmemory bit in a CAM requires its own comparison circuit in order toallow the CAM to detect a match between a bit of the key word (e.g.,pattern) with a bit stored in the CAM. Typical CAM cells, then, useapproximately nine to ten transistors for a static random access memory(SRAM)-based CAM, or four to five transistors for a dynamic randomaccess memory (DRAM)-based CAM.

In a two cell NAND CAM, one bit of data is stored in a pair of cells,each cell being programmed to one of at least two data states (S0, S1).One bit of a pattern is coded as two read voltages on word lines (Vr0,Vr1) of the pair of cells. A combination of read voltages and cellstates is used to determine a match/no-match condition for a bit, e.g.,when the bit of the pattern is concordant with the data of a cell pair(e.g., cell pair does not conduct), a match may be indicated, and whenthe bit of the pattern is opposite of the data of the cell pair (e.g.,cell pair conducts), a no-match condition may be indicated. Passvoltages are used to remove cell pairs in a string that are not to bepart of a match operation, e.g., cause these cell pairs to conductregardless of their data states. Typically, a determination of amatch/no-match condition for a data pattern will examine a plurality ofcell pairs connected in parallel to a bit line. If all cell pairs underexamination match, then no conduction will be present on the bit line(e.g., a precharged data line), which will not discharge, indicating amatch for the cell pairs under examination. If any cell pair underexamination does not match, e.g., both cells of at least one cell pairconduct, the bit line (e.g., a precharged data line) is discharged,indicating a no-match condition.

FIG. 1 shows a basic two cell NAND CAM. Such a CAM is described ingreater detail in U.S. patent application Ser. No. 13/449,082, filedApr. 17, 2012, titled “METHODS AND APPARATUS FOR PATTERN MATCHING”. In atwo cell NAND CAM 100, one bit of data can be stored as thresholdvoltages (representing data states) in two cells, 102 and 104. A logical0 value for a bit of data programmed into two cells 102 and 104 can berepresented by a first threshold voltage of 3 volts (e.g., within thedata state S1) on the first cell (e.g., cell 102) and a second thresholdvoltage of 1 volt (e.g., within the data state S0) on the second cell(e.g., cell 104), and a logical 1 value for a bit of data programmedinto two cells can be represented by a first threshold voltage of 1 volt(e.g., within the data state S0) on the first cell (e.g., cell 102) anda second threshold voltage of 3 volts (e.g., within the data state S1)on the second cell (e.g., cell 104). Although specific voltage levelsare provided herein for ease of understanding, they are merely examplesand may vary depending upon the particular memory technology utilizedand other operation parameters.

A pattern to be matched in the memory is stored or received as well.Each bit of the pattern to be matched is represented by two voltages onword lines (e.g., Vr0 and Vr1). For example, a logical 0 value for apattern bit may cause a voltage of 2 volts (e.g., Vr0, a voltagesufficient to activate a cell having the S0 data state but not activatea cell having the S1 data state) to be applied to the gate of the firstcell (e.g., cell 102) of the two cells, and may cause a voltage of 4volts (e.g., Vr1, a voltage sufficient to activate a cell having the S1data state) to be applied to the gate of the second cell (e.g., cell104) of the two cells. A logical 1 value for a pattern bit may cause avoltage of 4 volts (e.g., a voltage sufficient to activate a cell havingthe S1 data state) to be applied to the gate of the first cell (e.g.,cell 102) of the two cells, and may cause a voltage of 2 volts (e.g., avoltage sufficient to activate a cell having the S0 data state but notactivate a cell having the S1 data state) to be applied to the gate ofthe second cell (e.g., cell 104) of the two cells. A comparison is madeto a representation of data stored in the array, where each bit ofstored data is also represented by two cells, each having its ownprogrammed threshold voltage. A register may be used to store thepattern of bits, e.g., two bits of the register for each bit of thepattern.

With these threshold voltages and word line voltages, a no-match betweenthe data stored in the cells 102 and 104 is determined when both cellsconduct, and the bit line (e.g., precharged data line) for those cellsdischarges. When at least one cell does not conduct, a match conditionis determined. FIG. 2 shows basic no-match 202 and match 204 conditionsfor a two cell NAND CAM. For the example of FIG. 2, cell 102 has the S0data state and cell 104 has the S1 data state. As such, if voltage Vr0is applied to word line WL0 and voltage Vr1 is applied to word line WL1,both cells 102 and 104 conduct as each voltage is sufficient to activateits respective cell 102 or 104. Conversely, if voltage Vr1 is applied toword line WL0 and voltage Vr0 is applied to word line WL1, cell 104 doesnot conduct as the voltage Vr0 is insufficient to activate cell 104.Although cell 102 would be activated in this situation, the cell pair102/104 does not conduct as a result of their series connection.

A false match condition in NAND CAM cells can be a critical issue. Afalse match occurs when a cell that should be conducting moves to beinga non-conducting cell. NAND memory has some inherent reliability issues.In a situation where pattern matching as in a NAND CAM memory is beingperformed, the reliability of NAND memory limits its application.

For the reasons stated above, and for other reasons stated below whichwill become apparent to those skilled in the art upon reading andunderstanding the present specification, there is a need in the art forincreased reliability of NAND CAM memories.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram of a two cell NAND CAM portion of a memory array;

FIG. 2 is a diagram of matching in a two cell NAND CAM such as thatshown in FIG. 1;

FIG. 3 is a schematic diagram of one embodiment of a portion of a memoryarray;

FIG. 4 is a diagram showing possible error sources in a CAM memory;

FIG. 5 is a diagram of a portion of a memory according to an embodimentof the disclosure;

FIG. 6 is a diagram of a portion of a memory according to anotherembodiment of the disclosure;

FIG. 7 is a flow chart diagram of a method according to anotherembodiment of the present disclosure;

FIG. 8 is a diagram of a portion of a memory according to anotherembodiment of the disclosure;

FIG. 9 is a flow chart diagram of a method according to anotherembodiment of the present disclosure; and

FIG. 10 is a block schematic of a memory in accordance with anembodiment of the disclosure.

DETAILED DESCRIPTION

In the following detailed description of the embodiments, reference ismade to the accompanying drawings that form a part hereof. In thedrawings, like numerals describe substantially similar componentsthroughout the several views. These embodiments are described insufficient detail to enable those skilled in the art to practice theinvention. Other embodiments may be utilized and structural, logical,and electrical changes may be made without departing from the scope ofthe present invention. The following detailed description is, therefore,not to be taken in a limiting sense.

FIG. 3 illustrates a schematic diagram of one embodiment of a portion ofa NAND architecture memory array 301 comprising series strings ofnon-volatile memory cells. The present embodiments of the memory arrayare not limited to the illustrated NAND architecture.

The memory array 301 comprises an array of non-volatile memory cells(e.g., floating gate) arranged in columns such as series strings 304,305. Each of the cells is coupled in series (e.g., drain to source) ineach series string 304, 305. An access line (e.g., word line) WL0-WL31that spans across multiple series strings 304, 305 is coupled to thecontrol gates of each memory cell in a row in order to bias the controlgates of the memory cells in the row. Data lines, such as even/odd bitlines BLe, BLo, are coupled to the series strings and eventually coupledto sense circuitry (e.g., sense amplifier) (not shown) that detects thestate of each cell by sensing current or voltage on a selected bit line.The bit lines BLe, BLo are also coupled to page buffers (not shown) thatcan be programmed by data from each selected word line. The sensecircuitry and page buffers may be part of the same circuitry or the pagebuffers can be separate circuitry.

Each series string 304, 305 of memory cells is coupled to a source line306 by a source select gate 316, 317 (e.g., transistor), and to anindividual even or odd bit line BLe, BLo by a drain select gate 312, 313(e.g., transistor). The source select gates 316, 317 are controlled by asource select gate control line SG(S) 318 coupled to their controlgates. The drain select gates 312, 313 are controlled by a drain selectgate control line SG(D) 314.

In a typical programming of the memory array, each memory cell isindividually programmed as either a single level cell (SLC) or amultiple level cell (MLC). The cell's threshold voltage (V_(t)) can beused as an indication of the data stored in the cell. For example, in anSLC, a V_(t) of 2.5 V might indicate a first data state while a V_(t) of−0.5 V might indicate a second data state. An MLC uses multiple V_(t)ranges that each indicates a different data state. Multiple level cellscan take advantage of the analog nature of a traditional charge storagecell by assigning a respective bit pattern to each of the data states.

When there is uncertainty in program/read/verify operations, a cell canbe read as conducting when it is expected not to be conducting, or canbe read as not conducting when it is expected to be conducting. Eitherinstance may result in a match error. When a cell that is conductingbecomes not conducting because of some error, that may be a more seriouserror. A cell that is not conducting becoming conducting is less anissue in pattern matching because such an error is only one conductingcell that should not be conducting, and a bit error would depend on allcells conducting when conduction is not expected, and patterns aretypically quite large. The probability that one cell is readingincorrectly is referred to as the bit error rate (BER). Given a BER, theprobability that a pair of cells, such as cells 102 and 104 describedabove, storing a bit of data matching a bit of the pattern becoming apair of cells that do not match the bit of the pattern is equal to theBER. Basic error sources for a two cell NAND CAM are shown in FIG. 4.

One embodiment 500 for reducing the error rate for a NAND CAM is shownin FIG. 5. In this embodiment, a CAM cell is formed from four individualmemory cells 502, 504, 506, and 508, comprising two pairs of two cellsstoring in one embodiment duplicate data. In one embodiment, cells 502and 504 represent a bit of data like cells 102 and 104 of FIG. 1, andthat bit of data is duplicated into cells 506 and 508 in series on thesame string 510. Therefore, in this embodiment a single bit of data(e.g., corresponding to a particular bit position of a pattern of data)is represented by four cells, with each pair of cells (502/504 and506/508) programmed to store the same bit of data. Note that althougheach cell pair is programmed to store the same bit of data (e.g., theyhave been subjected to programming operations seeking to adjust theirthreshold voltages to represent the same data values), errors may occursuch that a particular cell pair may not contain its intended bit ofdata. Given a four cell CAM and a known BER, a probability that a matchcondition reads as a no-match condition is equal to the BER squared.Extending the number of cells used to represent a single bitexponentially decreases the probability of error. For example, extendingto eight cells, the probability of a match condition reading as ano-match condition is BER⁴, and extending to N cells, the probability ofa match condition reading as a no-match condition is BER^((N/2)).

Another embodiment 600 for reducing the probability of error due to BERis shown in FIG. 6. Embodiment 600 duplicates data along a bit linedirection. In this embodiment, multiple cell pairs such as cells 102 and104 are aligned in parallel along a same bit line. As shown, cells 602and 604 represent a bit of data, and cells 606 and 608 represent a bitof data. Each pair of cells (602/604 and 606/608) in one embodiment areprogrammed to store the same bit of data (e.g., corresponding to aparticular bit position of a pattern to be searched). Note that althougheach cell pair is programmed to store the same bit of data (e.g., theyhave been subjected to programming operations seeking to adjust theirthreshold voltages to represent the same data values), errors may occursuch that a particular cell pair may not contain its intended bit ofdata. In this embodiment, the bits are stored in parallel along bit line610. If either cell pair conducts, there is a no-match condition. Ifneither cell pair conducts, there is a match condition. Therefore, inorder to change a no-match result to a match result, each cell pair musthave an error in which a conducting cell becomes a non-conducting cell.If P is the probability that a conducting cell becomes non-conducting,then the probability of a no-match condition being read as a matchcondition is 2P*2P=4P². When reliability of a NAND CAM cell, which isrelated to the BER, becomes more important, a lower probability of errorthrough the use of additional cells such as in the present embodimentsmay be used.

A method 700 of pattern matching in a NAND CAM is shown in flow chartform in FIG. 7. Method 700 comprises, in one embodiment, receiving apattern to be searched in a memory in block 702, programming a pluralityof cell pairs, each cell pair storing a bit of data and each cell pairof the plurality of cell pairs programmed to store the same bit of datain block 704, and checking for the pattern to be searched in the memoryin block 706. The bit of data of the plurality of cell pairs correspondsto a particular bit position of a pattern to be searched. In oneembodiment, where the cell pairs are aligned in parallel along a samebit line, determining that a match condition is met (e.g., for theparticular bit position of the pattern to be searched) occurs when eachof the plurality of cell pairs is non-conducting (e.g., indicating amatch to the data value of the particular bit position), and determiningthat a no-match condition is met occurs when any of the plurality ofcell pairs is conducting. In another embodiment, where the cell pairsare connected in series in a same string, determining that a matchcondition is met (e.g., for the particular bit position of the patternto be searched) occurs when any of the plurality of cell pairs isnon-conducting (e.g., indicating a match to the data value of theparticular bit position), and determining that a no-match condition ismet occurs when each of the plurality of cell pairs is conducting. Twocell pairs are used in one embodiment. However, should increasedreliability be desired, additional cell pairs may be used. As shown inFIG. 5, in one embodiment the plurality of cell pairs are connected inseries in a same string. As shown in FIG. 6, in another embodiment theplurality of cell pairs are aligned in parallel along a same bit line.Although depicted in linear fashion in FIG. 7, the method need not beperformed in order. For example, programming the plurality of cell pairsmay occur before and/or after receiving the pattern to be searched inthe memory.

The pattern (e.g., key word) to be searched in one embodiment comprisesbits, with each bit of the pattern programmed into (e.g., representedby) two bits of a register, and gate voltages are applied to gates ofthe respective cells of a cell pair of the memory responsive to the twoprogrammed bits. Pattern checking on a cell pair further comprises inone embodiment applying programmed gate voltages of a selected bit ofthe pattern to be searched to the two respective cells of the storeddata.

Another embodiment 800 for reducing match probability errors is shown inFIG. 8. The embodiment of FIG. 8 duplicates the same pattern 802 in aplurality of memory elements 801 on each of a plurality of bit lines804, 806, and 808. Each memory element 801 represents one or more cellpairs representing a bit of data of the pattern 802. Thus, each memoryelement 801 of a set of memory elements of a particular pattern 802corresponds to a particular bit position of a pattern to be searched,and each set of memory elements 801 corresponds to the same set of bitpositions of the pattern to be searched. When using more than one cellpair for a memory element 801, the cell pairs of the memory element 801can be connected in series, such as described with reference to FIG. 5,and/or in parallel, such as described with reference to FIG. 6. Notethat although each memory element 801 is programmed to store the samebit of data (e.g., they have been subjected to programming operationsseeking to adjust their threshold voltages to represent the same datavalues), errors may occur such that a particular memory element 801 maynot contain its intended bit of data. For example, the memory element801 coupled to data line 806 and shown in dashed line may not containits intended data value. After the pattern 802 is duplicated, a majoritycheck on matching for the duplicated patterns 802 may be performed.Checking is performed as normal for each pattern 802 on each bit line804, 806, and 808. Whatever result, matching or no-matching, that is inthe majority is assigned as the true result. For example, if the pattern802 is duplicated on three bit lines 804, 806, and 808, then whateverindication, match or no-match, occurs on two or more, e.g., a majority,of the bit lines, is the accepted result. In the case of three bitlines, then a match on two bit lines indicates a match, and a match onthree bit lines indicates a match. In the example of FIG. 8, even thoughbit line 806 indicates a no-match condition, a match condition would beindicated for the pattern 802 as bit lines 804 and 809 (e.g., amajority) indicate match conditions. In the general case, duplicating apattern N times on N bit lines, and accepting a match when K or morepatterns of the N patterns are matching, gives a final probability errorthat at most K−1 patterns are not matching of:

$\begin{matrix}{\sum\limits_{i = 0}^{K - 1}{\begin{pmatrix}n \\i\end{pmatrix}{p^{i}( {1 - p} )}^{n - i}}} & (1) \\{\begin{pmatrix}n \\k\end{pmatrix} = \frac{n!}{{k!}{( {n - k} )!}}} & (2)\end{matrix}$

where p is the probability that one pattern has at least one matchingerror, and m is the key or pattern length, thenp=1−(1−BER)^(m)  (3)

A method 900 of pattern matching according to this embodiment is shownin flow chart form in FIG. 9. Method 900 comprises, in one embodiment,receiving a pattern to be searched in a memory in block 902, andchecking for the pattern to be searched in the memory. Checking for thepattern further comprises in one embodiment programming data into aplurality of sets of memory elements, each set of memory elementscoupled to a separate bit line of the memory, each set of memoryelements programmed to contain the same data in block 904 (e.g., eachcorresponding to a same set of bit positions of the pattern to besearched), and checking for the pattern to be searched in the memorywithin each set of memory elements of the plurality of sets of memoryelements in block 906. In one embodiment, a match condition is met whena majority of the bit lines coupled to the plurality of sets of memoryelements indicates a match for the pattern to be searched. Programmingdata into a plurality of sets of memory elements in one embodimentcomprises programming data into three sets of memory elements alongthree data lines. In another embodiment, a matching condition is metwhen the plurality of sets of memory elements numbers N, and when atleast K sets of memory elements of the N sets of memory elementsindicate a match. For one embodiment, K is greater than N/2. Althoughdepicted in linear fashion in FIG. 9, the method need not be performedin order. For example, programming data into the plurality of memoryelements may occur before and/or after receiving the pattern to besearched in the memory.

The methods described herein are orthogonal. Redundancy may be added toa NAND CAM in different ways, such as in the direction of a string, inthe direction of a bit line, and/or in the direction of duplicating onbit lines. Embodiments of the present disclosure extend a number ofcells in a string direction to decrease a probability that a matchcondition is read as a no-match condition, extend a number of cells in abit line direction to decrease a probability that a no-match conditionis read as a match condition, and/or repeat patterns on multiple bitlines for a majority matching check.

Methods described herein, such as shown and described with reference toFIGS. 3 and 5-9, may be performed by a memory, such as the examplememory 1000 illustrated in FIG. 10. Referring generally to FIG. 10, thememory (e.g., a NAND flash memory device) 1000 typically comprises amemory array 1002 divided into columns (accessed by data lines 1004,such as those commonly referred to as bit lines) and rows (accessed byaccess lines 1006, such as those commonly referred to as word lines), avoltage generation system 1008, a controller 1010, input/outputcircuitry 1012 for command and data transfers, and a plurality of pagebuffers 1014. Each page buffer is coupled to one or more bit lines 1004and has one or more data cache registers which are used to latch datasensed from the array during a read or verify operation, and to storedata to be programmed into the array. The plurality of page buffers 1014is further coupled to a bank 1016 of data detectors. The data cacheregisters of the plurality of page buffers 1014 may further store apattern (e.g., data pattern) to be searched in, or programmed into, thememory 1000. The plurality of page buffers 1014 can perform basic logicfunctions, such as AND, OR, and NOT operations, on the data stored inits registers. Each page buffer of the plurality of page buffers 1014 iscoupled to one data detector of the bank 1016 of data detectors. Eachdata detector provides circuitry to determine whether data in acorresponding page buffer indicates a match or no-match condition for acorresponding bit line 1004.

The controller 1010 may load a pattern to be searched into data cacheregisters of the plurality of page buffers 1014. The pattern may bereceived by the memory 1000 through the I/O circuitry 1012, such asmight be received from an external device (e.g., a host device or memorycontroller) (not shown). The controller 1010 may then select voltages inresponse to the pattern to be searched, and apply those voltages, suchas generated by voltage generation system 1008, to word lines 1006 todrive selected cell pairs coupled to bit lines 1004 to indicate theircorresponding match/no-match condition depending upon the selectedvoltages applied to their control gates. Data indicative of the voltageresponses of the bit lines 1004 indicating their correspondingmatch/no-match condition is stored in data cache registers of theplurality of page buffers 1014 for use by the bank 1016 of datadetectors.

In searching for a pattern in the memory array 1002, the controller 1010may begin searching at a starting address corresponding to a location inthe memory array 1002, and may continue searching through incrementedaddresses until either a match is indicated or an ending address isreached. In programming a pattern of data into the memory array 1002,the controller 1010 may program a first data state into one memory cellof each cell pair of a plurality of cell pairs, and program a seconddata state into the other memory cell of each cell pair of the pluralityof cell pairs for each bit position of the pattern. Which memory cell ofa cell pair receives the first data state and which memory cell of thecell pair receives the second data state is determined by a data valueof the corresponding bit position of the pattern to be programmed.Circuitry involved in carrying out methods described herein (e.g.,controller 1010, bank 1016 of data detectors, plurality of page buffers1014, etc.) may collectively be referred to as control circuitry.Although not necessary for an understanding of the embodiments describedherein, a memory such as memory 1000 is described in more detail in U.S.patent application Ser. No. 13/449,082, filed Apr. 17, 2012, and titled“METHODS AND APPARATUS FOR PATTERN MATCHING.”

While one set of threshold voltages and gate voltages are describedherein, it should be understood that as cell structures vary, or arrayand threshold voltages change, different sets of voltages may be usedwithout departing from the scope of the disclosure.

CONCLUSION

Methods for increased reliability of matching/no-matching operations ona key-data pattern comparison, and memories using the methods have beendescribed. In particular, some embodiments introduce redundancy in adata pattern to lower a probability of errors and improvemanufacturability of devices.

Although specific embodiments have been illustrated and describedherein, it will be appreciated by those of ordinary skill in the artthat any arrangement, which is calculated to achieve the same purpose,may be substituted for the specific embodiment shown. This applicationis intended to cover any adaptations or variations of the presentinvention. Therefore, it is intended that this disclosure be limitedonly by the claims and the equivalents thereof.

What is claimed is:
 1. A memory device, comprising: an array of memorycells comprising a plurality of cell pairs, each cell pair of theplurality of cell pairs programmed to store a same bit of datacorresponding to a particular bit position of a pattern to be searchedin the memory; and control circuitry configured to apply a same pair ofvoltages to control gates of each cell pair of the plurality of cellpairs when checking for a match of the stored bit of data of theplurality of cell pairs and a data value of the particular bit positionof the pattern, wherein voltage levels of the same pair of voltages areresponsive to the data value of the particular bit position of thepattern; wherein the plurality of cell pairs comprises cell pairscoupled in series in a same string of memory cells; wherein theplurality of cell pairs further comprises cell pairs coupled in parallelin different strings of memory cells; and wherein a first cell pair ofthe plurality of cell pairs programmed to store the bit of datacorresponding to the particular bit position is coupled in series with asecond cell pair of the plurality of cell pairs programmed to store thebit of data corresponding to the particular bit position, and is coupledin parallel with a third cell pair of the plurality of cell pairsprogrammed to store the bit of data corresponding to the particular bitposition.
 2. A memory device, comprising: an array of memory cellscomprising a plurality of cell pairs, each cell pair of the plurality ofcell pairs programmed to store a same bit of data corresponding to aparticular bit position of a pattern to be searched in the memory; andcontrol circuitry configured to apply a same pair of voltages to controlgates of each cell pair of the plurality of cell pairs when checking fora match of the stored bit of data of the plurality of cell pairs and adata value of the particular bit position of the pattern, whereinvoltage levels of the same pair of voltages are responsive to the datavalue of the particular bit position of the pattern; wherein theplurality of cell pairs comprises cell pairs coupled in series in a samestring of memory cells; wherein the plurality of cell pairs furthercomprises cell pairs coupled in parallel in different strings of memorycells; and wherein the plurality of cell pairs comprises a first cellpair in a first string of memory cells coupled to a first data line, asecond cell pair in the first string of memory cells coupled to thefirst data line, a third cell pair in a second string of memory cellscoupled to a second data line, and a fourth cell pair in the secondstring of memory cells coupled to the second data line.
 3. A method ofoperating a memory, comprising: receiving a pattern of data to beprogrammed into a memory array of the memory; and programming a firstdata state into one memory cell of each cell pair of a plurality of cellpairs of the memory array, and programming a second data state into another memory cell of each cell pair of the plurality of cell pairs foreach bit position of the pattern; wherein programming the first datastate into the one memory cell of each cell pair of the plurality ofcell pairs, and programming the second data state into the other memorycell of each cell pair of the plurality of cell pairs for each bitposition of the pattern comprises programming the one memory cell andthe other memory cell of each cell pair of the plurality of cell pairsto have different threshold voltages.